<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>windows对象——全局作用域</title>
	</head>
	<body>
		<script>
			var area="wenzhou";
			console.log(area);
			console.log(window.area);
			function getArea(){
				return this;
			}
			console.log(getArea());
			console.log(window.getArea());
			var o={
				name='Tom',
				c:getArea
			};
			console.log(o.c());
		</script>
	</body>
</html>
